students_count = 1000
rateing = 4.99
is_published = False
course_name = "Python"  # 单行字符串
course_name1 = """
Multiple
Lines
"""  # 多行字符串
x = 1
y = 2
x, y = 1, 2  # 相当于前两行
x = y = 1  # 相当于前两行

"""
2 types of languages

Static: such as C++, C#, Java
you need to define the type of an variable

Dynamic: such as Javascript, Ruby , Python
you don't need to define the type of an variable

In python, every variable is treated as an Object

Hover you mouse over an variable to see the type of it.
"""
print(type(1.1))  # <class 'float'>
print(type(True))  # <class 'bool'>
print(type(2))  # <class 'int'>
print(type("0"))  # <class 'str'>

age: int = 30
age1: int = 30.5
print(age1, type(age1))  # 30.5 <class 'float'>
age2: int = "30.5"
print(age2, type(age2))  # 30.5 <class 'str'>
# Linter:'pylint' will not check the type of it
# Linter:'mypy' will throw an err it the type doesn't match
